package com.project.common.data.mybatis.annotation;

import javax.validation.constraints.NotBlank;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.TYPE, ElementType.METHOD})
@Documented
public @interface Compatible {
    /**
     * 当前sql适配数据源
     */
    @NotBlank String adaptiveDataSource() default "";


}
